//using System;
//using System.Collections.Generic;
//using System.Text;

//namespace Ordering.Domain.Tests
//{
//    /// <summary>
//    /// A monetary value.
//    /// </summary>
//    /// <remarks>
//    /// <para>Currently the system is only required to support a single currency, if multiple currencies are required then a more
//    /// complex implementation will be required.
//    /// </para>
//    /// <para>A full discussion of this pattern can be found here: http://www.martinfowler.com/ap2/quantity.html
//    /// </para>
//    /// </remarks>
//    public struct Money
//    {
//        #region Fields

//        /// <summary>
//        /// The amount in pennies (or equivalent).
//        /// </summary>
//        private int _amountInPennies;
        
//        #endregion

//        #region Constructor

//        public Money(int amountInPennies)
//        {
//            _amountInPennies = amountInPennies;
//        }
        
//        #endregion

//        #region Public Methods

//        public int AmountInPennies
//        {
//            get { return _amountInPennies; }
//        }

//        public double Amount
//        {
//            get
//            {
//                return _amountInPennies / 100;
//            }
//        }
        
//        #endregion

//        # region Operator Overloads

//        public static bool operator ==(Money first, Money second)
//        {
//            return first.Equals(second);
//        }

//        public static bool operator !=(Money first, Money second)
//        {
//            return !first.Equals(second);
//        }

//        # endregion
//    }
//}
